package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 工单执行情况统计
 */
@Entity
@Table(name = "wo_exec_tj")
@Data
public class WoExecTj implements AbstractEntity<Long> , Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 工单执行进度
     */
    @Column(name = "wo_jd")
    private String woJd;

    /**
     * 巡检执行进度
     */
    @Column(name = "xunjian_jd")
    private String xunjianJd;

    /**
     * 维修执行进度
     */
    @Column(name = "weixiu_jd")
    private String weixiuJd;

    /**
     * 工单验收进度
     */
    @Column(name = "yansou_jd")
    private String yansouJd;

    /**
     * 在途工单数
     */
    @Column(name = "running_num")
    private String runningNum;

    /**
     * 今日派单数
     */
    @Column(name = "this_day_num")
    private String thisDayNum;

    /**
     * 工单驳回占比
     */
    @Column(name = "reject_zb")
    private String rejectZb;

    /**
     * 检修管道数
     */
    @Column(name = "jianxiu_pipe_num")
    private String jianxiuPipeNum;

    /**
     * 当前检修人数
     */
    @Column(name = "jianxiu_men_num")
    private String jianxiuMenNum;

    /**
     * 检修岗总人数
     */
    @Column(name = "jianxiu_all_num")
    private String jianxiuAllNum;

    /**
     * 当前巡检人数
     */
    @Column(name = "xunjian_men_num")
    private String xunjianMenNum;

    /**
     * 巡检岗总人数
     */
    @Column(name = "xunjian_all_num")
    private String xunjianAllNum;

    /**
     * 当前维修人数
     */
    @Column(name = "weixiu_men_num")
    private String weixiuMenNum;

    /**
     * 维修岗总人数
     */
    @Column(name = "weixiu_all_num")
    private String weixiuAllNum;

}
